import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  dictionaryName: [
    { required: true, message: "请输入字典名称", trigger: "blur" }
  ],
  dictionaryCode: [
    { required: true, message: "请输入字典编码", trigger: "blur" }
  ]
});
